🪟 Create Modal
The Create Modal action allows you to open a modal dialog and bind it to a specific variable for dynamic user interaction or data display.
Configuration​
- Variable Name: Define a unique name for the modal variable that tracks the modal state or data.
- Select Variable: Choose an existing variable to bind to the modal, controlling its content or behavior.
Features​
- Opens customizable modal dialogs within the Chatflow or UI.
- Supports data binding to variables for dynamic content updates.
- Enables user input collection or message display in a focused popup.
- Can trigger additional actions based on modal interactions.
Use Cases​
- Show confirmation dialogs or alerts to users.
- Collect additional input without navigating away from the current screen.
- Display detailed information or forms in a popup window.
- Control Chatflow flow based on user modal interactions.
Notes​
- Ensure the variable selected is properly initialized and compatible with modal usage.
- Use descriptive variable names for easier modal management.
- Modals can be styled or customized further depending on platform capabilities.
Tip: Combine Create Modal with conditional logic to tailor user experiences based on Chatflow states.